package com.dongdongshop.service.imp;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbProvincesMapper;
import com.dongdongshop.pojo.TbProvinces;
import com.dongdongshop.service.ProvinceService;

import javax.annotation.Resource;
import java.util.List;

@Service
@org.springframework.stereotype.Service
public class ProvinceServiceImpl implements ProvinceService {
    @Resource
    private TbProvincesMapper tbProvincesMapper;

    @Override
    public List<TbProvinces> getProvince() {
        List<TbProvinces> list = tbProvincesMapper.selectByExample(null);
        return list;
    }
}
